package com.yedean.factory;

import com.yedean.factory.config.BeanPostProcessor;
import com.yedean.factory.config.SingletonRegistry;

/**
 * @author yedean
 * @date 2022/7/8
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonRegistry {
    
    String SCOPE_SINGLETON="singleton";
    
    String SCOPE_PROTOTYPE="prototype";

    /**
     * 添加bean的前置处理器
     */
    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);
    
    void destroySingletons();
}
